<template>
    <div class="diary">
        <Header style="z-index:1025">
            <header-menu :index="'2'"></header-menu>
        </Header>
        <top-search :navlist="NavTitle"></top-search>
        <div class="container">
            <diary-title v-on:childevent="childe"></diary-title>
            <diary-project  :diartylist="dlist"></diary-project>
        </div>
        <bottom-icon></bottom-icon>
        <Footer>
            <page-footer></page-footer>
        </Footer>
    </div>
</template>

<script>
    import HeaderMenu from '../../components/Header/'
    import HeaderTop from '../../components/Header/Top'
    import TopSearch from '../../components/TopSearch/'
    import DiaryTitle from '../../components/Diarytitle/'
    import DiaryProject from '../../components/DiaryProject/'
    import PageFooter from '../../components/Footer/'
    import BottomIcon from '../../components/BottomIcon/'
    export default {
        name: "index",
        components: {
            HeaderTop,
            DiaryTitle,
            DiaryProject,
            PageFooter,
            BottomIcon,
            HeaderMenu,
            TopSearch
        },
        data () {
            return {
                NavTitle:{
                    id:1,
                    name:'美丽日记',
                    mytext:'我的预约',
                    type:2
                },

                dlist:'',
            }
        },
        created () {
        },
        methods : {
            childe (data) {
                this.dlist = data
                // console.log( this.dlist)
                // return data
            }
        }
    }
</script>

<style scoped>

</style>